#pragma once

class RectStatic;

class Player
{
public:
	enum
	{
		PART_BODY = 0,
		PART_CLOTH,
		PART_HEAD,
		PART_HAIR,

		PART_MAX,
	};

public:
	Player();
	~Player();

	void		init();
	void		Release();

	void		Create(int nStageIndex, int nDrawPosX, int nDrawPosY);	
	void		Update();

	void		SetPos(int nPosX, int nPosY);
	void		SetScale(float fScale);

private:
	int				m_nDrawPosX;
	int				m_nDrawPosY;

	int				m_nPartBaseOffsetX[PART_MAX];
	int				m_nPartBaseOffsetY[PART_MAX];
	int				m_nPartBaseWidth[PART_MAX];
	int				m_nPartBaseHeight[PART_MAX];
	RectStatic*		m_pRectPart[PART_MAX];	
};